<?php
include_once('inc/functions.inc.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Administrar Bancos</title>
<link href="../css/bancos.css" rel="stylesheet" type="text/css" />
<?php
if( !isset($_GET["ajax"]) ) {  
    ?>
    <link href="../css/maintenance_v2.css" rel="stylesheet" type="text/css" />
    <link href="../libs/jquery.ui/jquery.ui.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../js/jquery.js" language="javascript"></script>
    <script type="text/javascript" src="../libs/jquery.ui/jquery.ui.min.js" language="javascript"></script>
    <script type="text/javascript" src="../libs/jquery.formatcurrency/jquery.formatcurrency.js" language="javascript"></script>
    <script type="text/javascript" src="../js/admin_bancos.js" language="javascript"></script>
    <?php
}    
?>
<script type="text/javascript" src="../js/admin_bancos_emision.js" language="javascript"></script>
</head>
<body>
<form name="frmBancosEmision" id="frmBancosEmision" method="post" action="">
    <?php
    if( !isset($_GET["ajax"]) ) {  
        ?>
        <div id="dialog-cargando" style="width: auto; height: auto; vertical-align: middle; text-align: center; display: none">
            <img id="img-cargando" src='../img/loading.gif' style="width: 100px; height: 100px" />
        </div>
        <?php
    }
    ?>
    <div id="frmPartidas-empresa">
    <?php
    $intSelectedID = getParam("sltEmpresa");
    drawEmpresa($db, $intSelectedID);
    ?>
    </div>
    <div id="div-emision-mensajes" style="width: 900px; float: left;"></div>
    <div id="div-emision-primero" style="width:900px; height: 380px;">
        
        <div style="width: 900px; height: 30px; float: left;">
            <b>Tipo de documento: </b>
            <select name="sltEmisionTipo">
                <option value="0">--- Todos ---</option>
                <option value="1">Cheque</option>
                <option value="2">Nota de credito</option>
                <option value="3">Nota de debito</option>
            </select>
        </div>
        <div style="width: 900px; height: 20px; float: left;">&nbsp;</div>
        <div style="width: 130px; height: 30px; float: left; text-align: center; border-bottom: 1px solid black;"><b>Tipo de documento</b></div>
        <div style="width: 100px; height: 30px; float: left; text-align: center; border-bottom: 1px solid black;"><b>No. de solicitud</b></div>
        <div style="width: 200px; height: 30px; float: left; text-align: center; border-bottom: 1px solid black;"><b>Cuenta Bancaria</b></div>
        <div style="width: 100px; height: 30px; float: left; text-align: center; border-bottom: 1px solid black;"><b>Fecha</b></div>
        <div style="width: 200px; height: 30px; float: left; text-align: left; border-bottom: 1px solid black;"><b>Cheque a nombre de</b></div>
        <div style="width: 100px; height: 30px; float: left; text-align: center; border-bottom: 1px solid black;"><b>Valor</b></div>
        <div style="width: 70px; height: 30px; float: left; text-align: center; border-bottom: 1px solid black;">&nbsp;</div>
        <div id="div-emision-contenido" style="width: 900px; float: left;"></div>
        <div style="width: 900px; height: 30px; float: left;">&nbsp;</div>
        <div style="width: 900px; height: 30px; float: left;" align="center"><button type="button" id="div-emision-seguir">Seguir</button></div>
    </div>
    <div id="div-emision-segundo" style="width: 900px; height: 600px; display: none;"></div>
</form>
</body>
</html>